
#ifndef _MEMBER_BSlider_H_
#define _MEMBER_BSlider_H_

#include <BSlider>
#include <BIcon>

namespace BWE
{
	class member_BSlider
	{
	public:
		member_BSlider(BSlider* slider);
		~member_BSlider();

		int valueOfPoint(const BPoint& pos) const;
		void freshRects();

		BSlider*		boss;
		int				value;
		int				minimum;
		int				maximum;
		int				step;
		Orientation		orientation;
		BIconHolder		handleIcon;

		BRect			rect;
		State			handleState;
		BRect			handleRect;
	};
}

#endif